[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ANSION() (BOOLEAN)

 Function
  Report the status of ANSI availability with the current caller.

 Syntax
  ANSION()   No arguments are required

 Return Type & Value
  BOOLEAN
  If the caller can support ANSI then TRUE is returned,
  otherwise FALSE is returned.

 Remarks
  This function will return TRUE if the caller has ANSI capabilities.
  This could have been determined one of two ways.  If the user answered
  yes to the Do you want graphics? prompt this function will return TRUE.

  If the user answered no, there is still a chance that the user has ANSI
  capabilities; PCBoard will interrogate the remote computer to find out
  if ANSI is available.  If it is, this function will return TRUE.

  Finally, if the user answered no and PCBoard was unable to detect ANSI
  at login this function will return FALSE.  There is still a chance that
  the user could support ANSI but the only safe approach at this point is
  to assume that there is no ANSI available.

 Examples
  IF (ANSION()) PRINTLN "You have ANSI support available!"

See Also: ANSIPOS BACKUP FORWARD GETX() GETY() GRAFMODE()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson